package com.rytx.system.mapper;

import com.rytx.system.domain.ysp.ArtFundingDetails;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

public interface ArtFundingDetailsMapper {
    // 插入记录
    int insert(ArtFundingDetails artFundingDetails);

    // 根据ID查询记录
    ArtFundingDetails selectById(Long id);

    // 更新记录
    int update(ArtFundingDetails artFundingDetails);

    // 根据ID删除记录
    int deleteById(Long id);

    List<ArtFundingDetails> selectArtFundingDetailsList(ArtFundingDetails artFundingDetails);

    List<ArtFundingDetails> selectArtFundingDetailsStatisticsByParam(ArtFundingDetails artFundingDetails);

    List<ArtFundingDetails> selectArtFundingDetailsListInDate(@Param("startDate") LocalDateTime startDate, @Param("endDate") LocalDateTime endDate,@Param("fundingType") String fundingType);
}
